package demo13;

import java.io.File;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/3/6 20:20
 */
public class Test02 {
    public static void main(String[] args) {
        File file = new File(".");
        for (int i = 0; i < file.length(); i++) {
            File file1 = new File(i+".txt");
            file1.delete();
        }
    }
}
